//
//  PhotoManager.h
//  BabyHelper
//
//  Created by  thomas on 11-8-1.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Dao.h"

@interface PhotoManager : NSObject {

}
+(PhotoManager *) getInstance;

-(UIImage *)GetThumPhotoByBabyGrowID:(int)photoID;
-(void)UpdateThumImageByBabyGrowID:(int)photoID image:(UIImage *)image;
-(void)InsertThumImageByBabyGrowID:(int)photoID image:(UIImage *)image;
-(void)RemoveThumImageByBabyGrowID:(int)photoID;

-(UIImage *)GetThumPhotoByPhotoID:(int)photoID;
-(void)UpdateThumImageByPhotoID:(int)photoID image:(UIImage *)image;
-(void)InsertThumImageByPhotoID:(int)photoID image:(UIImage *)image;
-(void)RemoveThumImageByPhotoID:(int)photoID;

@end
